package com.weixing.mall.provider.model.enums;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.weixing.mall.base.enums.IBaseEnum;
;
import lombok.NoArgsConstructor;

/**
 * @Author wx
 * @Date 2019/8/8 15:57
 * @Version 1.0
 */

@NoArgsConstructor
public enum ReviewEnum implements IBaseEnum<Integer> {
    //0、待审核  1、审核失败 2、审核通过
    TO_AUDITED(0,"待审核"),
    FAIL(1,"审核失败"),
    ADOPT(2,"审核通过");

    private int value;
    private String desp;

    ReviewEnum(int value, String desp) {
        this.value = value;
        this.desp = desp;
    }

    @Override
    public Integer getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    public String getDesp() {
        return desp;
    }

    public void setDesp(String desp) {
        this.desp = desp;
    }

}
